<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta name="description" content="Xenon Boostrap Admin Panel" />
	<meta name="author" content="" />
	
	<title>DISTRA-MIT</title>

	<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Arimo:400,700,400italic">
	<link rel="stylesheet" href="../../assets/css/fonts/linecons/css/linecons.css">
	<link rel="stylesheet" href="../../assets/css/fonts/fontawesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="../../assets/css/bootstrap-mod.css">
	<link rel="stylesheet" href="../../assets/css/xenon-core.css">
	<link rel="stylesheet" href="../../assets/css/xenon-forms.css">
	<link rel="stylesheet" href="../../assets/css/xenon-components.css">
	<link rel="stylesheet" href="../../assets/css/xenon-skins.css">
	<link rel="stylesheet" href="../../assets/css/custom.css">

	<script src="../../assets/js/jquery-1.11.1.min.js"></script>
	<script>
	
		var myArrayForNewsTrainingOrganization =[];
		
		jQuery(document).ready(function($){
			$("#tableNewsTrainingOrganization tbody").empty();
			var stringToAppend_tmp = "";			
			if(localStorage.getItem("gestioneTirocinio")==0){
				$("#tableNewsTrainingOrganization").append("<thead><tr><th>Nome Azienda</th><th>Professore Associato</th><th>Descrizione</th></tr></thead>");
				for(var i = 0; i < 10; i++){
					myArrayForNewsTrainingOrganization[i] = i;
					stringToAppend_tmp = "";
					stringToAppend_tmp = "<tr><td>"+i+"</td><td>"+i+"</td><td>"+i+"</td></tr>";
					$("#tableNewsTrainingOrganization").append(stringToAppend_tmp);
				}
			}else{
				$("#tableNewsTrainingOrganization").append("<thead><tr><th>Nome Azienda</th><th>Professore Associato</th><th>Descrizione</th><th>Contatti</th></tr></thead>");
				for(var i = 0; i < 10; i++){
					myArrayForNewsTrainingOrganization[i] = i;
					stringToAppend_tmp = "";
					stringToAppend_tmp = "<tr><td>"+i+"</td><td>"+i+"</td><td>"+i+"</td><td>"+i+"</td></tr>";
					$("#tableNewsTrainingOrganization").append(stringToAppend_tmp);
				}
			}
		
			/*bisogna metterla in ogni pagina*/
			$(window).on('beforeunload',function(e) {
				if(localStorage.getItem("rememberMeForLogin")=="no"){
					localStorage.removeItem("username");
					localStorage.removeItem("typology");
					localStorage.removeItem("primaryKey");
						
					localStorage.removeItem("offertaFormativa");
					localStorage.removeItem("gestioneTesi");
					localStorage.removeItem("gestioneTirocinio");
					localStorage.removeItem("dottorato");
					localStorage.removeItem("superAmministratore");
					window.location.href="../../index.html";
				}
			});
			
			//quì ci vanno gli ID delle funzionalità che verranno messe all interno del menù laterale...basta copiare una riga e incollarla,
			//facendo attenzione a cambiare l'ID
			//Es: $("pippopaperino_"+localStorage.getItem("offertaFormativa")).empty();
			//ovviamente la localStorage cambia a seconda se si sta nella pagina di offerta formativa, gestione tesi, ecc...
			$("#funzionalita1Permission_"+localStorage.getItem("gestioneTirocinio")).empty();	
			
			/*if(localStorage.getItem("username")==null){
				window.location.replace("../../pageError.html");
			}*/
			
			$("#spaceForUsername").html(localStorage.getItem("username")+' <i class="fa-angle-down"></i>');
			
			$("#logout").click(function(){
				localStorage.removeItem("username");
				localStorage.removeItem("typology");
				localStorage.removeItem("primaryKey");
				window.location.href="../../index.html";
				
				localStorage.removeItem("offertaFormativa");
				localStorage.removeItem("gestioneTesi");
				localStorage.removeItem("gestioneTirocinio");
				localStorage.removeItem("dottorato");
				localStorage.removeItem("superAmministratore");
				
			});
		});
	</script>

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
		<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
		<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
	<![endif]-->
	
	
</head>
<body class="page-body">

	<nav class="navbar horizontal-menu navbar-fixed-top"><!-- set fixed position by adding class "navbar-fixed-top" -->
		
		<div class="navbar-inner">
		
			<!-- Navbar Brand -->
			<div class="navbar-brand">
				<a href="../../offertaFormativa/studente/offertaFormativaStudente.html" class="logo">
					<img src="../../assets/images/mitforsite.png" width="80" alt="" class="hidden-xs" />
					<img src="../../assets/images/mitforsitemini.png" width="80" alt="" class="visible-xs" />
				</a>
			</div>
				
			<!-- Mobile Toggles Links -->
			<div class="nav navbar-mobile">
			
				<!-- This will toggle the mobile menu and will be visible only on mobile devices -->
				<div class="mobile-menu-toggle">
					
					<a href="#" data-toggle="user-info-menu-horizontal">
						<i class="fa-key"></i>
					</a>
					
					<a href="#" data-toggle="mobile-menu-horizontal">
						<i class="fa-bars"></i>
					</a>
				</div>
			</div>
			
			<div class="navbar-mobile-clear"></div>
			
			<!-- main menu -->
					
			<ul class="navbar-nav">
				<li>
					<a href="../../offertaFormativa/studente/offertaFormativaStudente.html">
						<i class="linecons-desktop"></i>
						<span class="title">Offerta Formativa</span>
					</a>
				</li>
				<li>
					<a href="#">
						<i class="linecons-graduation-cap"></i>
						<span class="title">Gestione Tesi</span>
					</a>
				</li>
				<li class="opened active">
					<a href="../../tirocinio/studente/gestioneTirocinio&PlacementStudente.html">
						<i class="linecons-megaphone"></i>
						<span class="title">Gestione Tirocinio</span>
					</a>
				</li>
				<li>
					<a href="#">
						<i class="linecons-lightbulb"></i>
						<span class="title">Dottorato</span>
					</a>
				</li>
                <li>
				    <a href="#">
				        <i class="linecons-globe"></i>
						<span class="title">Links</span>
					</a>
					<ul>
						<li>
							<a href="http://www.magistralemit.unisa.it/" target="_blank">
								<span class="title">DISTRA-MIT</span>
							</a>
						</li>
						<li>
							<a href="https://esse3web.unisa.it/unisa/Start.do" target="_blank">
								<span class="title">Esse3</span>
							</a>
						</li>
					</ul>
                </li>
			</ul>
			<!-- notifications and other links -->
			<ul class="nav nav-userinfo navbar-right">
                <li class="dropdown user-profile">
					<a href="#" data-toggle="dropdown">
						<img src="../../assets/images/user-1.png" alt="user-image" class="img-circle img-inline userpic-32" width="28" />
						<span id="spaceForUsername">
						</span>
					</a>
					
					<ul class="dropdown-menu user-profile-menu list-unstyled">
						<li>
							<a href="../../tirocinio/studente/gestioneTirocinio&PlacementStudenteProfiloPersonale.html">
								<i class="fa-edit"></i>
								Profilo
							</a>
						</li>
						<li class="last">
							<a href="#" id="logout">
								<i class="fa-lock"></i>
								Logout
							</a>
						</li>
					</ul>
				</li>
			</ul>
	
		</div>
		
	</nav>
	<div class="page-container"><!-- add class "sidebar-collapsed" to close sidebar by default, "chat-visible" to make chat appear always -->
			
		<!-- Add "fixed" class to make the sidebar fixed always to the browser viewport. -->
		<!-- Adding class "toggle-others" will keep only one menu item open at a time. -->
		<!-- Adding class "collapsed" collapse sidebar root elements and show only icons. -->
		<div class="sidebar-menu toggle-others">
			<div class="sidebar-menu-inner">	
				<ul id="main-menu" class="main-menu">
					<!-- add class "multiple-expanded" to allow multiple submenus to open -->
					<!-- class "auto-inherit-active-class" will automatically add "active" class for parent elements who are marked already with class "active" -->
					<li class="opened active">
						<a href="../../tirocinio/studente/gestioneTirocinio&PlacementStudente.html">
							<i class="linecons-cog"></i>
							<span class="title">Home</span>
						</a>
					</li>
					<li>
						<a href="../../tirocinio/studente/gestioneTirocinio&PlacementStudenteRichiestaTirocinio.html">
							<i class="linecons-cog"></i>
							<span class="title">Richiesta Tirocinio</span>
						</a>
					</li>
					<li>
						<a href="#">
							<i class="linecons-note"></i>
							<span class="title">Funzionalit&agrave; 02</span>
						</a>
					</li>
					<li id="funzionalita3Permission_0">
						<a href="#">
							<i class="linecons-mail"></i>
							<span class="title">Funzionalit&agrave; 03</span>
						</a>
						<ul>
							<li>
								<a href="#">
									<span class="title">INSERT</span>
								</a>
							</li>
							<li>
								<a href="#">
									<span class="title">DELETE</span>
								</a>
							</li>
							<li>
								<a href="#">
									<span class="title">VIEW</span>
								</a>
							</li>
						</ul>
					</li>
				</ul>
			</div>
		</div>
		
		<div class="main-content">
            <div class="row">
                <div class="col-lg-6">
                    <div class="panel panel-default"><!-- Add class "collapsed" to minimize the panel -->
						<div class="panel-heading">
							<h3 class="panel-title">News</h3>
							
							<div class="panel-options">
								<a href="#" data-toggle="reload">
									<i class="fa-rotate-right"></i>
								</a>
							</div>
						</div>
                        <div class="panel-options">
							</div>
						
						<div class="panel-body">
							
							<p>Now indulgence dissimilar for his thoroughly has terminated. Agreement offending commanded my an. Change wholly say why eldest period. Are projection put celebrated particular unreserved joy unsatiable its. In then dare good am rose bred or. On am in nearer square wanted. </p>
							<p>She travelling acceptance men unpleasant her especially entreaties law. Law forth but end any arise chief arose. Old her say learn these large. Joy fond many ham high seen this. Few preferred continual sir led incommode neglected. Discovered too old insensible collecting unpleasant but invitation. </p>
			
						</div>
					</div>
                </div>
                <div class="col-lg-6">
                    <div class="panel panel-default"><!-- Add class "collapsed" to minimize the panel -->
						<div class="panel-heading">
							<h3 class="panel-title">Notifiche</h3>
						</div>
						
						<div class="panel-body">
							
							<p>Now indulgence dissimilar for his thoroughly has terminated. Agreement offending commanded my an. Change wholly say why eldest period. Are projection put celebrated particular unreserved joy unsatiable its. In then dare good am rose bred or. On am in nearer square wanted. </p>
							<p>She travelling acceptance men unpleasant her especially entreaties law. Law forth but end any arise chief arose. Old her say learn these large. Joy fond many ham high seen this. Few preferred continual sir led incommode neglected. Discovered too old insensible collecting unpleasant but invitation. </p>
			
						</div>
					</div>
                </div>
            </div>
					
			<script>
				jQuery(document).ready(function($)
				{
					$('a[href="#layout-variants"]').on('click', function(ev)
					{
						ev.preventDefault();
						
						var win = {top: $(window).scrollTop(), toTop: $("#layout-variants").offset().top - 15};
						
						TweenLite.to(win, .3, {top: win.toTop, roundProps: ["top"], ease: Sine.easeInOut, onUpdate: function()
							{
								$(window).scrollTop(win.top);
							}
						});
					});
				});
			</script>
			
			<div class="row">
				<div class="col-md-12">
				
					<div class="panel panel-default">
						<div class="panel-heading">
							<h3 class="panel-title">News Tirocini</h3>
						</div>
						
						<div class="panel-body">
							<script>
								$(document).ready(function() {
									$("#tableNewsTrainingOrganization").dataTable({
										aLengthMenu: [
											[5, 10, 20, -1], [5, 10, 20, "Tutti"]
										]
									});
								});
							</script>
							<table id="tableNewsTrainingOrganization" class="table table-striped table-hover table-bordered" cellspacing="0" width="100%">
								<!--<thead>
									<tr>
										<th>Nome Azienda</th>
										<th>Professore Associato</th>
										<th>Descrizione</th>
										<th>Contatti</th>
									</tr>
								</thead>-->
								<tbody align='center'>
								</tbody>
							</table>
						</div>
					</div>
					
				</div>
			</div>		
			
			<!-- Main Footer -->
			<!-- Choose between footer styles: "footer-type-1" or "footer-type-2" -->
			<!-- Add class "sticky" to  always stick the footer to the end of page (if page contents is small) -->
			<!-- Or class "fixed" to  always fix the footer to the end of page -->
			<footer class="main-footer sticky footer-type-1">
				
				<div class="footer-inner">
				
					<!-- Add your copyright text here -->
					<div class="footer-text">
						&copy; 2014 
						<strong>Unisa</strong> 
						<a href="http://www.unisa.it" target="_blank"></a>
					</div>
					
					
					<!-- Go to Top Link, just add rel="go-top" to any link to add this functionality -->
					<div class="go-up">
					
						<a href="#" rel="go-top">
							<i class="fa-angle-up"></i>
						</a>
						
					</div>
					
				</div>
				
			</footer>
		</div>
		
	</div>
	
	
	<div class="page-loading-overlay">
		<div class="loader-2"></div>
	</div>
	

	<link rel="stylesheet" href="../../assets/js/datatables/dataTables.bootstrap.css">
	<link rel="stylesheet" href="../../assets/css/fonts/meteocons/css/meteocons.css">

	<!-- Bottom Scripts -->
	<script src="../../assets/js/bootstrap.min.js"></script>
	<script src="../../assets/js/TweenMax.min.js"></script>
	<script src="../../assets/js/resizeable.js"></script>
	<script src="../../assets/js/joinable.js"></script>
	<script src="../../assets/js/xenon-api.js"></script>
	<script src="../../assets/js/xenon-toggles.js"></script>
	<script src="../../assets/js/datatables/js/jquery.dataTables.js"></script>

	<!-- Imported scripts on this page -->
	<script src="../../assets/js/datatables/dataTables.bootstrap.js"></script>
	<script src="../../assets/js/datatables/yadcf/jquery.dataTables.yadcf.js"></script>
	<script src="../../assets/js/datatables/tabletools/dataTables.tableTools.min.js"></script>
	
	<!-- Imported scripts on this page -->
	<script src="../../assets/js/xenon-widgets.js"></script>
	<script src="../../assets/js/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
	<script src="../../assets/js/jvectormap/regions/jquery-jvectormap-world-mill-en.js"></script>

	<!-- JavaScripts initializations and stuff -->
	<script src="../../assets/js/xenon-custom.js"></script>

</body>
</html>